var app = angular.module('orderMasterApp', ['ngRoute']);

app.config(function ($routeProvider) {
    $routeProvider

        .when('/', {
            templateUrl: 'html/order.html',
            controller: 'OrderCtrl'
        })
        .when('/select_menu', {
            templateUrl: 'html/select_menu.html',
            controller: 'SelectMenuCtrl'
        })
        .when('/select_people', {
            templateUrl: 'html/select_people.html',
            controller: 'SelectPeopleCtrl'
        })
        .when('/select_restaurant', {
            templateUrl: 'html/select_restaurant.html',
            controller: 'SelectRestaurantCtrl'
        })
        .when('/select_combo', {
            templateUrl: 'html/select_combo.html',
            controller: 'SelectMealCtrl'
        })
        .when('/menu', {
            templateUrl: 'html/menu.html',
            controller: 'MenuCtrl'
        })
})
